package com.chatinterfaceuni.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chatinterfaceuni.entity.CommodityOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface CommodityOrderMapper extends BaseMapper<CommodityOrder> {

    @Select("select * from commodity_order")
    List<CommodityOrder> findAll();
}
